package com.xgry.bpm.api.business.personnelfileschild.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author adrian
 * @since 2020-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PersonnelFilesChild")
public class PersonnelFilesChild extends Model<PersonnelFilesChild> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "PersonnelFilesChild_id", type = IdType.AUTO)
    private Integer personnelfileschildId;

    @TableField("PersonnelFiles_id")
    private Integer personnelfilesId;

    @TableField("PersonnelFilesChild_single_person")
    private String personnelfileschildSinglePerson;

    @TableField("PersonnelFilesChild_single_person_id")
    private String personnelfileschildSinglePersonId;

    @TableField("PersonnelFilesChild_auditor")
    private String personnelfileschildAuditor;

    @TableField("PersonnelFilesChild_altered_person")
    private String personnelfileschildAlteredPerson;

    @TableField("PersonnelFilesChild_making_time")
    private LocalDateTime personnelfileschildMakingTime;

    @TableField("PersonnelFilesChild_audit_time")
    private LocalDateTime personnelfileschildAuditTime;

    @TableField("PersonnelFilesChild_change_time")
    private LocalDateTime personnelfileschildChangeTime;

    @TableField("PersonnelFilesChild_billDate")
    private LocalDateTime personnelfileschildBilldate;

    @TableField("PersonnelFilesChild_upstream_document_number")
    private String personnelfileschildUpstreamDocumentNumber;

    @TableField("PersonnelFilesChild_downstream_document_number")
    private String personnelfileschildDownstreamDocumentNumber;

    @TableField("PersonnelFilesChild_upstream_document_bank_number")
    private String personnelfileschildUpstreamDocumentBankNumber;

    @TableField("PersonnelFilesChild_downstream_document_bank_number")
    private String personnelfileschildDownstreamDocumentBankNumber;

    private String parentLevel;

    @TableField("PersonnelFilesChild_state")
    private String personnelfileschildState;

    @TableField("PersonnelFilesChild_name")
    private String personnelfileschildName;

    @TableField("PersonnelFilesChild_code")
    private String personnelfileschildCode;

    @TableField("PersonnelFilesChild_Department")
    private String personnelfileschildDepartment;

    @TableField("PersonnelFilesChild_Moodyhas")
    private String personnelfileschildMoodyhas;

    @TableField("PersonnelFilesChild_JobGroups")
    private String personnelfileschildJobgroups;

    @TableField("PersonnelFilesChild_PositionLevel")
    private String personnelfileschildPositionlevel;

    @TableField("PersonnelFilesChild_duties")
    private String personnelfileschildDuties;

    @TableField("PersonnelFilesChild_DutiesLevel")
    private String personnelfileschildDutieslevel;

    @TableField("PersonnelFilesChild_DirectSuperiors")
    private String personnelfileschildDirectsuperiors;

    @TableField("PersonnelFilesChild_WhetherToWork")
    private String personnelfileschildWhethertowork;

    @TableField("PersonnelFilesChild_DateOfAppointment")
    private LocalDateTime personnelfileschildDateofappointment;

    @TableField("PersonnelFilesChild_TerminationAppointment")
    private LocalDateTime personnelfileschildTerminationappointment;

    @TableField("PersonnelFilesChild_post")
    private String personnelfileschildPost;

    @TableField("PersonnelFilesChild_processInstanceId")
    private String personnelfileschildProcessinstanceid;


    @Override
    protected Serializable pkVal() {
        return this.personnelfileschildId;
    }

}
